const mongoose = require('mongoose')
const Schema = mongoose.Schema

let MenuSchema = new Schema({
    name: {type: String, required: true},
    code: String
})

// Export the model
module.exports = mongoose.model('Menu', MenuSchema)